call the script from the init.sqf
see the example mission for clarification

goonu@hotmail.com


// call the script like this
// [objectname1, radius, objectname2, growrate] execVM "sandstorm.sqf";
//objectname1 = unit to have sandstorm around, can use player or unitname
//radius = radius of sandstorm, should be around 80 - 220
//objectname2 = unit to have dust around, should be center of area of operations
// growrate = size for the sandstorm to grow, do not exceed 5 or it will get very sandy!


// in the example call, sandstorm is called around player with 120 meter radius
// dust is called on town1, and size grow is 1. the sandstorm will follow the player in the below call...



EXAMPLE CALL (called from inside init.sqf):


[player, 120, town1, 1] execVM "sandstorm.sqf";